function Goods() {
    return (
        <ul>
            {[{ id: 101, num: 1, name: "奇妙", checkbox: true }, { id: 102, num: 1, name: "奇妙2", checkbox: true }, { id: 103, num: 1, name: "奇妙3", checkbox: true }].map(item => {
                return <li key={item.id}>
                    <input type="checkbox" />
                    <span>{item.name}</span>
                    <div>
                        <button>-</button>
                        <span>{item.num}</span>
                        <button>+</button>
                    </div>
                </li>
            })}
        </ul>
    )
}
export default Goods